How do you reverse a string and check if its a palindrome

welcome to shbcf.ru